import numpy as np
l1=[[1,2],[3,4],[5,6],[7,8]]
l2=[[3,4],[1,2],[7,8],[5,6]]
def judge_2list_equal(l1:list,l2:list):#判断二维数组是否相同（第二个维度数组是否相同）
    if len(l1)!=len(l2):return False
    for i in range(len(l1)):
        if l1[i] not in l2:return False
    return True
print(judge_2list_equal(l1,l2))

# 但是
# [1,1,2]
# [2,2,1]

